﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="NewsCategoryCreate.aspx.cs" Inherits="WebUI.AdminSite.News.NewCategoryCreate" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
 <script>
     $(function () {
         $("#<%= txtDatePicker.ClientID %>").datepicker();
     });
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="module width_half">
            <asp:Label ID="lblNo" CssClass="bold marginBotTop" runat="server">Create New</asp:Label>
            <asp:Label ID="lblCategoryName" CssClass="bold marginBotTop"   runat="server">Name</asp:Label>
            <asp:TextBox ID="txtCategoryName" CssClass="inputText" runat="server" />
            <asp:RequiredFieldValidator ID="rqfCategoryName" Display="Dynamic" runat="server" ControlToValidate="txtCategoryName"
            ErrorMessage="Không được để trống!"></asp:RequiredFieldValidator>
            <asp:Label ID="lblDesc" CssClass="bold marginBotTop" runat="server">Desc</asp:Label>
            <asp:TextBox ID="txtDesc" CssClass="inputText" runat="server" TextMode="MultiLine" />
            <asp:Label ID="lblCreateDate" CssClass="bold marginBotTop" runat="server">CreateDate</asp:Label>
            <asp:TextBox runat="server" CssClass="inputText" ID="txtDatePicker" />
            <asp:RequiredFieldValidator ID="rqfDate" Display="Dynamic" runat="server" ControlToValidate="txtDatePicker"
            ErrorMessage="Không được để trống!"></asp:RequiredFieldValidator>
            <asp:Label ID="lblStatus" CssClass="bold marginBotTop" runat="server">Status</asp:Label>
            <asp:DropDownList ID="drpStatus" runat="server" >
                <asp:ListItem Value="NORMAL">NORMAL</asp:ListItem>
                <asp:ListItem Value="STANDBY">STANDBY</asp:ListItem>
                <asp:ListItem Value="DELETED">DELETED</asp:ListItem>
            </asp:DropDownList>
            <div class="btnSaveDelete">
                <asp:LinkButton ID="btnCreate" runat="server" onclick="btnCreate_Click">Create</asp:LinkButton>
            </div>
    </div>
</asp:Content>
